/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package digitaldreamers.libraries.games.servers.gameserver;

import digitaldreamers.libraries.games.servers.networkmanagement.abstracts.IGameServer;
import java.io.IOException;

/**
 *
 * @author BichThao
 */
public interface ICommonGameServer extends IGameServer {
    
    /**
     * Start the game server.
     * @throws IOException Something wrong happened.
     */
    void start() throws IOException;
    
    /**
     * Stop the game server.
     * @throws java.lang.InterruptedException Something wrong happened.
     * @throws IOException Something wrong happened.
     */
    void stop() throws InterruptedException, IOException;
}
